#include "MyStack/MyStack.h"

int main()
{
    my_stack::MyStack<int> stack1, stack2;
    int n = 3960;

    my_stack::Multipliers(n, stack1);

    while (!stack1.isEmpty())
    {
        std::cout << stack1.topElement() << " ";
        stack2.push(stack1.topElement());
        stack1.pop();
    }
    std::cout << std::endl;

    while (!stack2.isEmpty())
    {
        std::cout << stack2.topElement() << " ";
        stack2.pop();
    }

    return 0;
}